Skip to main content

All Questions

2votes
1answer
5kviews

When should I alter overcommit_memory and what should I take into consideration when doing so?

I'm having a PC freeze issue that I can't seem to figure out. I have three identical PCs. They are each custom builds with i7 and 64GB of RAM. The OS drives are 512GB nvme drives. They each run ...
Blackwood's user avatar
0votes
1answer
1kviews

How to understand PBS output "mem" and "vmem" keep the same when the task is x-fold increased with mpirun -np x task

Here is a simple experiment I tried: Given a task called "sim.exe" which doing a model simulation, I then use MPI to launch x "sim.exe" simultaneously on one node (shared memory system). I have tried ...
LouisXW's user avatar
5votes
2answers
10kviews

Are sharing a memory-mapped file and sharing a memory region implemented based on each other?

Are sharing a memory-mapped file and sharing a memory region implemented based on each other? The following two quotes seem to say so, and seem a chicken-egg problem to me. Operating System Concepts ...
Tim's user avatar
  • 106k
1vote
1answer
802views

Interpetation of /proc/sys/kernel/shmall

Unless I am wrong. the value of /proc/sys/kernel/shmall indicates the the total amount of shared memory, in bytes, that can be allocated to the system. I am on a t2.micro ec2 debian instance, and I ...
pkaramol's user avatar
17votes
1answer
25kviews

Understanding mmap

I was going through documentation regarding mmap here and tried to implement it using this video. I have a few questions regarding its implementation. Does mmap provide a mapping of a file and return ...
john 's user avatar
6votes
1answer
8kviews

How to know shared memory between two processes?

I need to know the amount of memory shared between two processes, that is, the intersection of their shared memories. Any ideas?
idelvall's user avatar

close